package com.suse.service.user.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * <p>
 * 用户登录参数
 * </p>
 *
 * @author 辜玉彬
 * @since 2022-08-19 14:25
 */
@Data
@ApiModel(value = "UserLoginParam",description = "用户登录参数")
public class LoginParam {

    @ApiModelProperty(value = "手机号")
    @NotEmpty(message = "手机号不能为空")
    private String phone;

    @ApiModelProperty(value = "密码")
    @NotEmpty(message = "密码不能为空")
    private String password;

}
